package com.sharding.jdbc;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;

/**
 * @Author:RenPu
 * @Date: 2020/8/16 9:57
 * @Version: 1.0
 * @description:
 */

@SpringBootApplication
@ImportResource("classpath*:sharding-jdbc.xml")
@MapperScan("com.sharding.jdbc.dao")
public class ShardingJdbcMain {

    public static void main(String[] args) {
        SpringApplication.run( ShardingJdbcMain.class, args );
    }
}
